<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <link rel="shortcut icon" type="image/x-icon" href="../images/wheel.jpg" />
    <title>Home Page</title>
    <link rel="stylesheet" href="../css/constant.css" type="text/css" />
    <link rel="stylesheet" href="../css/template.css" type="text/css" />
    <link rel="stylesheet" href="../css/virtuemart.css" type="text/css" />
    <link rel="stylesheet" href="../css/screen.css" type="text/css" />
    <link rel="stylesheet" href="../css/cart.css" type="text/css" />
   <script type="text/javascript">
    function checkProcess(){
        	
    	location.href='viewInvoices.jsp';
    	return true;
    	
    }
    </script>

</head>

<body id="body">
    <div class="main">
        <div class="borderTop">
            <div class="borderLeft">
                <div class="borderRight">
                    <div class="borderBottom">
                        <div class="cornerTopLeft">
                            <div class="cornerTopRight">
                                <div class="cornerBottomLeft">
                                    <div class="cornerBottomRight">
                                        <div class="width">
                                            <jsp:include page="header.jsp" />
                                            <div id="nav">
                                                <jsp:include page="menu.jsp" />
                                            </div>
                                            <div class="one_column_main">
                                                <div class="container">
                                                    <div class="bloc01">
                                                    <div class="page-title title-buttons">
                                <h1>Xem giỏ hàng</h1>
                            </div>
                            <form action="ShoppingCart_updateNumItems" method="post">
                                <fieldset>
                                                    	<table id="shopping-cart-table" class="data-table cart-table">
                                        <col width="1" />
                                        <col width="1" />
                                        <col />
                                        <col  />
                                        <col width="1" />
                                        <col width="1" />
                                        <col width="1" />
                                        <thead>
                                            <tr>
                                                <th rowspan="1" class="a-center">
                                                    &nbsp;</th>
                                                <th rowspan="1">
                                                    &nbsp;</th>
                                                <th rowspan="1">
                                                    <span class="nobr">Mã sản phẩm</span></th>
                                                <th rowspan="1">
                                                    <span class="nobr">Tên sản phẩm</span></th>
                                                <th class="a-center" colspan="1">
                                                    <span class="nobr">Đơn giá</span></th>
                                                <th rowspan="1" class="a-center">
                                                    Số lượng</th>
                                                <th class="a-center" colspan="1">
                                                    Thành tiền</th>
                                               
                                            </tr>
                                        </thead>
                                        <tfoot>
                                            <tr>
                                                <td colspan="50" class="a-right">
                                                    <button onclick="location.href='viewProduct'" type="button" title="Continue Shopping" class="button btn-continue">
                                                        <span><span>Tiếp tục đặt hàng</span></span></button>
                                                    <button style="float: right;" type="submit" title="Update Shopping Cart" class="button btn-update">
                                                        <span><span>Cập nhật giỏ hàng</span></span></button>
                                                </td>
                                            </tr>
                                        </tfoot>
                                        <tbody>
                                        	
                                        	
                                        				<tr>
			                                                <td class="a-center">
			                                                    <a href="#" class="btn-remove2">Remove item</a></td>
			                                                <td>
			                                                    <a href="#" title="Ten san pham">
			                                                        <img src="http://osc.template-help.com/virtuemart_27333/components/com_virtuemart/shop_image/product/resized/Product16_resized.jpg"
			                                                            width="75" height="75" alt="Ten san pham" /></a></td>
			                                                <td>
			                                                        <a>Ma san pham 1</a>
			                                                    
			                                                </td>
			                                                <td>
			                                                        <a>Ten san pham 1</a>
			                                                    
			                                                </td>
			                                                <td class="a-right">
			                                                    <span class="cart-price"><span class="price">100000 VND</span> </span>
			                                                </td>
			                                                <td class="a-center">
			                                                    <input name="item1 %>" value="2" size="4" title="Qty" class="input-text qty"
			                                                        maxlength="12" />
			                                                </td>
			                                                <td class="a-right">
			                                                    <span class="cart-price"><span class="price">200000 VND
			                                                   </span> </span>
			                                                </td>
			                                                
			                                            </tr>
                                        			
                                        	
                                           </tbody>
                                    </table>
                                </fieldset>
                               </form>
                            <div class="cart">
                            <div class="cart-collaterals">
                                <div class="col2-set">
                                    <div class="col-1">
                                        <div class="crosssell">
                                            <h2>
                                                Based on your selection, you may be interested in the following items:</h2>
                                            <ul id="crosssell-products-list">
                                                <li class="item"><a class="product-image" href="#" title="Acer Ferrari 3200 Notebook Computer PC">
                                                    <img src="http://osc.template-help.com/virtuemart_27333/components/com_virtuemart/shop_image/product/resized/Product52_resized.jpg" width="75" height="75" alt="Acer Ferrari 3200 Notebook Computer PC" /></a>
                                                    <div class="product-details">
                                                        <h3 class="product-name">
                                                            <a href="#">Devil AP3 GM</a></h3>
                                                        <div class="price-box">
                                                            <span class="regular-price" id="product-price-26"><span class="price">$1,799.99</span>
                                                            </span>
                                                        </div>
                                                        <button type="button" title="Add to Cart" class="button btn-cart">
                                                            <span><span>Add to Cart</span></span></button>
                                                        <ul class="add-to-links">
                                                            <li><a href="#" class="link-wishlist">Add to Wishlist</a></li>
                                                            <li><span class="separator">|</span> <a href="#" class="link-compare">Add to Compare</a></li>
                                                        </ul>
                                                    </div>
                                                </li>
                                            </ul>
                                        </div>
                                    </div>
                                    <div class="col-2">
                                       <div class="shipping">
                                            <a style="font-size: 14px">
                                                Tính thuế</a>
                                            <div class="shipping-form">
                                                <form action="#" method="post" id="shipping-zip-form">
                                                   
                                                    <ul class="form-list">
                                                        <li>
                                                            <label for="country" class="required">
                                                                <em>*</em>Tổng tiền trước thuế</label>
                                                            <div class="input-box">
                                                                <input type="text" name="pretotal" value="200000" disabled="disabled" id="pretotal" class="input-text" title="total pre-tax money" />
                                                                 
                                                            </div>
                                                        </li>
                                                        <li>
                                                            <label for="postcode">
                                                                Thuế: 10%</label>
                                                            <div class="input-box">
                                                                <input class="input-text" value="20000" type="text" id="tax" name="tax" disabled="disabled"/>
                                                            </div>
                                                        </li>
                                                    </ul>
                                                </form>
                                            </div>
                                        </div>
                                        <div class="totals">
                                            <table id="shopping-cart-totals-table">
                                                <col />
                                                <col width="1" />
                                                <tfoot>
                                                    <tr>
                                                        <td style="" class="a-right" colspan="1">
                                                            <strong>Tổng tiền</strong>
                                                        </td>
                                                        <td style="" class="a-right">
                                                            <strong><span class="price">220000</span></strong>
                                                        </td>
                                                    </tr>
                                                </tfoot>
                                                <tbody>
                                                    <tr>
                                                        <td style="" class="a-right" colspan="1">
                                                            Tổng
                                                        </td>
                                                        <td style="" class="a-right">
                                                            <span class="price">220000</span>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                            <ul class="checkout-types">
                                                <li>
                                                    <button onclick="return checkProcess()"  type="button" title="Proceed to Checkout" class="button btn-checkout">
                                                        <span><span>Xuất hóa đơn tạm</span></span></button>
                                                        
                                                </li>
                                                <li></li>
                                            </ul>
                                        </div>
                                    </div>
                                    
                                </div>
                            </div>
                        </div>                           
                                                        <br class="clear" />
                                                    </div>
                                                </div>
                                            
                                            </div>
                                            <jsp:include page="footer.jsp" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
